package com.example.chat.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.example.chat.beans.Content;
import org.apache.ibatis.annotations.Param;

public interface ContentMapper extends BaseMapper<Content> {
    IPage<Content> selectBySearch(Page<Content> pages,
                                  @Param("title") String title);
}
